<?php
class Mapinfo extends FrontAction{
	function showkey($key){
		$db = $this->getDB();
		$mapinfo = $db->query_assoc("select * from mapinfo where keyid = '$key' and lang = '$this->lang'");
		$this->data['mapinfo'] = $mapinfo;
		template($key,$this->data);
	}
}